import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/order/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
    cryptoToken: false,
  })
}

export const detail = (id) => {
    return request({
      url: '/api/order/detail',
      method: 'get',
      params: {
        id
      },
      cryptoToken: false,
    })
  }
  
  export const orderprocess = (params) => {
    return request({
      url: '/api/orderprocess/page',
      method: 'get',
      params: params
    })
  }
  
  
